Showing posts with label jquery examples. Show all posts

Jquery edit css using .css()

Ever wanted to edit or color something using jquery ??
Well it's so simple!
We will use the .css() function

Here's the div element which we want to change color to gray:
<div id="togray">Lets change this text color to gray</div>

Now the jquery part:
$(document).ready(function(){

$('#togray').css('color', gray');


});

It's so simple right ? Dont forget to share :D

Posted in , , | Leave a comment

Jquery Think Box Plugin Released

The jquery plugin "Think Box" just got released.
This plugin shows a tooltip at the end of the site by asking for something with a form
A live example can be viewed at php tutorials
This is just first version of many others to come :D
you can get it here

Posted in , , , | Leave a comment